<?php
include('db.php');
$query = "UPDATE songlist SET submitted = 1 WHERE submitted = 0";
mysql_query($query);
$query = "UPDATE playlists SET submitted = 1 WHERE submitted = 0";
mysql_query($query);
$query = "DELETE FROM deleted WHERE submitted = 0";
mysql_query($query);
?>